using System;

namespace OrderService.Application.Dtos
{
    /// <summary>
    /// 订单项响应模型
    /// </summary>
    public class OrderItemResponse
    {
        /// <summary>
        /// 订单项ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 产品ID
        /// </summary>
        public Guid ProductId { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 小计
        /// </summary>
        public decimal Subtotal { get; set; }
    }
}